﻿using TestDDD.CustomAttribute;

namespace TestDDD.Services
{
    public interface IBaseService<TEntity> where TEntity : class
    {
        Task<TEntity> AddAsync(TEntity entity);

        Task<bool> Update(TEntity entity);

        TEntity Add(TEntity entity);
    }
}
